﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConverterForm.aspx.cs" Inherits="WebClient.ConverterForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    </head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:Panel ID="Panel5" runat="server" style="text-align: center">
        <asp:Label ID="errorMessage" runat="server" ForeColor="Red"></asp:Label>
    </asp:Panel>
    
        <asp:Panel ID="Panel1" runat="server" BorderStyle="Groove" 
            style="text-align: center" HorizontalAlign="Center">
            <asp:TextBox ID="fromValue" runat="server">10</asp:TextBox>
            <asp:ListBox ID="fromList" runat="server" Rows="7"></asp:ListBox>
            <asp:Button ID="convertButton" runat="server" Text="Конвертировать" 
                onclick="convertButton_Click" />
            <asp:Label ID="toValue" runat="server" Text="-"></asp:Label>
            <asp:ListBox ID="toList" runat="server" Rows="7"></asp:ListBox>
        </asp:Panel>
    
    </div>
    <asp:Panel ID="Panel2" runat="server" BorderStyle="Groove" 
        style="text-align: center">
        &nbsp;<asp:Table ID="quotationsList" runat="server" BorderStyle="Ridge" 
            HorizontalAlign="Center">
            <asp:TableRow runat="server" BorderColor="#333300" BorderStyle="Solid" 
                BorderWidth="1px">
                <asp:TableCell runat="server">Название</asp:TableCell>
                <asp:TableCell runat="server">Котировка</asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        <br />
        &nbsp;<asp:Button ID="saveButton" runat="server" onclick="saveButton_Click" 
            Text="Сохранить" />
    </asp:Panel>
    <asp:Panel ID="Panel6" runat="server" BorderStyle="Groove" 
        style="text-align: center">
        <asp:Label ID="Label2" runat="server" Text="Название"></asp:Label>
        <asp:TextBox ID="newName" runat="server"></asp:TextBox>
        <br />
        <asp:Label ID="Label3" runat="server" Text="Котировка"></asp:Label>
        <asp:TextBox ID="newValue" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="addButton" runat="server" 
    onclick="addButton_Click" Text="Добавить" />
    </asp:Panel>
    <asp:Panel ID="Panel4" runat="server" BorderStyle="Groove" 
        style="text-align: center">
        <asp:Label ID="Label1" runat="server" Text="Журнал"></asp:Label>
        <br />
        <asp:CheckBox ID="textLog" runat="server" Text="текст" Checked="True" 
            oncheckedchanged="textLog_CheckedChanged" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CheckBox ID="htmlLog" runat="server" Text="html" Checked="True" 
            oncheckedchanged="htmlLog_CheckedChanged" />
        <br />
        <asp:TextBox ID="logBox" runat="server" Height="161px" Width="504px" 
            ReadOnly="True" TextMode="MultiLine"></asp:TextBox>
        <br />
        <br />
        <br />
        <br />
    </asp:Panel>
    </form>
</body>
</html>
